/* 注册页面样式 */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 2rem;
    background-color: #f5f7fa;
}

.register-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
}

.register-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
}

.register-card h2 i {
    margin-right: 10px;
    color: var(--primary);
}

/* .input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: #777;
    font-size: 1rem;
}

.input-group input {
    padding-left: 40px;
    width: 100%;
} */


.verification-group {
    display: flex;
    gap: 10px;
}

.btn-code {
    padding: 10px 15px;
    white-space: nowrap;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-code:hover {
    background-color: #e0e0e0;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 5px;
    width: 100%;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background-color: #ff4757;
    transition: width 0.3s, background-color 0.3s;
}

#strengthText {
    font-size: 0.8rem;
    color: #777;
}

.terms-group {
    margin: 1.5rem 0;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* .btn-register {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin: 1rem 0;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: var(--primary-dark);
} */

.login-link {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.login-link a {
    color: var(--primary);
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ff4757;
    font-size: 0.8rem;
    min-height: 1rem;
    margin-top: 5px;
    display: none;
}

.hint-message {
    color: #777;
    font-size: 0.8rem;
    min-height: 1rem;
    margin-top: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .register-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .register-container {
        min-height: calc(100vh - 80px);
    }
    
    .verification-group {
        flex-direction: column;
    }
    
    .btn-code {
        width: 100%;
    }
}